<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li><a href="#/simu/company/list">私募公司列表</a></li>
    <li class="active">{{ id ? "编辑私募公司" : "新增私募公司"}}</li>
  </ol>
  <form class="form-horizontal" role="form" name="form" ng-submit="save()" novalidate>
    <div class="form-group" ng-class="{'has-error':form.gsmc.$invalid}">
      <label class="col-sm-2 control-label">公司名称</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" placeholder="公司名称" name="gsmc" ng-model="item.gsmc" required="required">
      </div>
    </div>
    
    <div class="form-group" ng-class="{'has-error':form.jjgsbm.$invalid}" ng-show="!id">
      <label class="col-sm-2 control-label">公司编码</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" readonly="true" placeholder="公司编码" name="jjgsbm" ng-model="item.jjgsbm" required="required">
      </div>
      <a class="brand" ng-click="getJJBM()" href="">刷新公司编码</a>
    </div>
    
    <div class="form-group" ng-class="{'has-error':form.zczb.$invalid}">
      <label for="advertLinkInput" class="col-sm-2 control-label">注册资本</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" id="advertLinkInput" placeholder="注册资本,例如3000亿" name="zczb" ng-model="item.zczb" >
      </div>
    </div>
    <!--
    <div class="form-group" ng-class="{'has-error':form.gslx.$invalid}">
      <label class="col-sm-2 control-label">公司类型</label>
      <div class="col-sm-5">
        <select class="form-control" name="gslx" ng-model="item.gslx" ng-options="m.value as m.text for m in dictMap['simuCompanyTypeModel']" > </select>
      </div>
    </div> 
    -->
    <div class="form-group" ng-class="{'has-error':form.clrq.$invalid}">
      <label for="startDateInput" class="col-sm-2 control-label">成立日期</label>
      <div class="col-sm-5">
        <input type="date" class="form-control" id="startDateInput" placeholder="成立时间,格式如2015-01-01" name="clrq" ng-model="item.clrqstr" maxlength="10" max="9999-99-99" ng-pattern="/^\d{4}-\d{2}-\d{2}$/">
      </div>
    </div> 
    <div class="form-group" ng-class="{'has-error':form.szd.$invalid}">
      <label for="advertSortInput" class="col-sm-2 control-label">所在地</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" id="advertSortInput" placeholder="所在地,例如北京" value="10" name="szd" ng-model="item.szd" >
      </div>
    </div> 

    <div class="form-group" ng-class="{'has-error':form.tdjj.$invalid}">
      <label class="col-sm-2 control-label">
        <!-- <span class="required">*</span>-->
        公司简介
      </label>
      <div class="col-sm-7">
        <div class="ueditor" config="config" ready="ready" ng-model="item.tdjj" style="height:300px;" ></div>
      </div>
    </div>
   <div class="form-group" ng-class="{'has-error':form.investIdea.$invalid}">
      <label class="col-sm-2 control-label">
        <!-- <span class="required">*</span>-->
        投资理念
      </label>
      <div class="col-sm-7">
        <div class="ueditor" config="config" ready="ready" ng-model="item.investIdea" style="height:300px;" ></div>
      </div>
    </div>  
     <div class="form-group" ng-class="{'has-error':form.investTeam.$invalid}">
      <label class="col-sm-2 control-label">
       <!-- <span class="required">*</span>-->
        投研团队
      </label>
      <div class="col-sm-7">
        <div class="ueditor" config="config" ready="ready" ng-model="item.investTeam" style="height:300px;" ></div>
      </div>
    </div>

    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-5"><!--owner="{{item.createBy}}"-->
        <button type="submit" class="btn btn-default" has-auth where="btn" who="SIMU_COMPANY_EDIT" >提交</button>
      </div>
    </div>
  </form>
</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?5'" call-back="" charset="utf-8" ></div>

